using System;
using Microsoft.Win32.SafeHandles;

namespace NovaCore.Interop.SafeHandles {
	public class ActivationHandle : SafeHandleZeroOrMinusOneIsInvalid {
		public ActivationHandle() : base(true) { }

		protected override bool ReleaseHandle() {
			Activation.ReleaseSession(handle);
			return true;
		}
	}
}